package cn.ickck.law_paper_final.service;

import cn.ickck.law_paper_final.model.entity.Gdb;

import java.util.List;

/**
 * @Author: ck
 * @Description:
 * @Date: Create in 21:33 2020/11/27
 */
public interface GdbService {
    Integer insert(Gdb gdb);

    Integer deleteById(Integer id);

    int count();

    List<Gdb> selectByPage(int start, int end);

    List<Gdb> findByNameOrKey(String key);

    Integer deleteByKey(String keyById);

    void update(Gdb gdb);
}
